package com.lmk.ms.common.dto.es;

import com.lmk.ms.common.dto.db.PageResult;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Map;

@Data
@Schema(description = "搜索结果")
public class EsSearchResult<T>  {
    @Schema(description = "分页数据")
    private PageResult<T> data;

    @Schema(description = "高亮显示")
    private Map<String, Map<String, String>> highlights;
}
